package com.chen.mapper;

import com.chen.domain.Attendance;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface AttendanceMapper {
    List<Attendance> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);
//   增加签到信息
    int addAttendance(Attendance attendance);
//   查找签到信息
    Attendance isAttendance(Attendance attendance);
//   删除签到信息
    int deleteAttendance(Integer id);

}
